# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=jsmn
pkgver=1.1.0
pkgrel=2
pkgdesc="Small stream-oriented header-only JSON parser for C"
url="https://github.com/zserge/jsmn"
arch="noarch"
license="MIT"
source="https://github.com/zserge/jsmn/archive/v$pkgver/jsmn-v$pkgver.tar.gz"

check() {
	make test
}

package() {
	install -Dm644 jsmn.h "$pkgdir"/usr/include/jsmn.h
}

sha512sums="
474fa44740a4fae8389534ad08fe0e11ed3ba54cbedbce39a720984da4d20a21176f6abd1633ff2601a9b19421fd2f88320151c520764b4b05f73ed8abda76aa  jsmn-v1.1.0.tar.gz
"
